package com.jcode222.dao;

import com.jcode222.entity.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author jcode222
 */
@Mapper
public interface IOrderDao {
    List<Order> findList(Order order);

    Order findById(Long id);

    int deleteById(Long id);

    int deleteByIds(Long[] ids);

    int update(Order order);

    int save(Order order);

}
